package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.TalentDeclarationInfo;

import java.util.Date;

/**
 * 人才申报信息业务对象 talent_declaration_info
 *
 * @author 毛宁川
 * @date 2025-09-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TalentDeclarationInfo.class, reverseConvertGenerate = false)
public class TalentDeclarationInfoBo extends BaseEntity {

    /**
     * 申报ID
     */
    private Long infoId;

    /**
     * 小程序用户ID
     */
    private Long xcxUserId;

    /**
     * 姓名
     */
    private String userName;

    /**
     * 证件类型
     */
    private String idcardType;

    /**
     * 证件号
     */
    private String idcardNum;

    /**
     * 性别
     */
    @NotBlank(message = "性别不能为空", groups = {AddGroup.class, EditGroup.class})
    private String sex;

    /**
     * 出生年月
     */
    @NotNull(message = "出生年月不能为空", groups = {AddGroup.class, EditGroup.class})
    private Date birthday;

    /**
     * 手机号码
     */
    @NotBlank(message = "手机号码不能为空", groups = {AddGroup.class, EditGroup.class})
    private String phonenumber;

    /**
     * 工作单位
     */
    @NotBlank(message = "工作单位不能为空", groups = {AddGroup.class, EditGroup.class})
    private String workCompanyName;

    /**
     * 单位性质
     */
    private String workCompanyType;

    /**
     * 所属区县
     */
    private String quxian;

    /**
     * 所属乡镇
     */
    @NotBlank(message = "所属乡镇不能为空", groups = {AddGroup.class, EditGroup.class})
    private String xiangzhen;

    /**
     * 毕业院校
     */
    private String graduateFrom;

    /**
     * 专业名称
     */
    private String major;

    /**
     * 毕业时间
     */
    private Date graduateDate;

    /**
     * 学习形式
     */
    private String learningForms;

    /**
     * 学历
     */
    @NotBlank(message = "学历不能为空", groups = {AddGroup.class, EditGroup.class})
    private String degree;

    private String degreeProveUrl;

    /**
     * 新奉节人才等级
     */
    @NotBlank(message = "新奉节人才等级不能为空", groups = {AddGroup.class, EditGroup.class})
    private String newFengjieTalentLevel;

    /**
     * 符合新重庆人才标准
     */
    private String meetChongqingTalentDesc;

    /**
     * 符合新奉节人才标准
     */
    private String meetFengjieTalentDesc;

    /**
     * 人才证明资料
     */
    private String provePapers;

    /**
     * 证书（称号）名称
     */
    private String talentPaperName;

    private String talentPaperNameProveUrl;

    /**
     * 证书（称号）获取时间
     */
    private Date talentPaperDate;

    /**
     * 专业技术职称
     */
    private String professionalSkillLevel;


    private String professionalSkillProveUrl;

    /**
     * 职业技能等级
     */
    private String skillTalentType;


    private String skillTalentProveUrl;

    /**
     * 行业类别
     */
    @NotBlank(message = "行业类别不能为空", groups = {AddGroup.class, EditGroup.class})
    private String hangyeType;

    /**
     * 产业链类别
     */
    @NotBlank(message = "产业链类别不能为空", groups = {AddGroup.class, EditGroup.class})
    private String industryCategory;

    /**
     * 岗位类别
     */
    private String jobCategory;

    /**
     * 单位联络员
     */
    private String workLiaisonName;

    /**
     * 单位联络员电话
     */
    private String workLiaisonPhone;

    /**
     * 服务专员
     */
    private String serviceLiaisonName;

    /**
     * 服务专员电话
     */
    private String serviceLiaisonPhone;


    private Long meetConfigId;

    /**
     * 行业主管部门
     */
    private String manageWorkName;

    /**
     * 行业主管部门ID
     */
    private Long manageWorkId;

    private Long suggestManageWorkId;

    /**
     * 填报人单位
     */
    private String submitWorkName;

    /**
     * 填报人单位ID
     */
    private Long submitWorkId;

    /**
     * 填报人单位ID
     */
    private String submitPersonName;

    /**
     * 填报人单位ID
     */
    private  String submitPersonPhone;

    /**
     * 备注
     */
    private String remark;

    /**
     * 认定标准
     */
    private String accreditationCriteria;

    /**
     * 到期日期
     */
    private Date expireDate;

    /**
     * 申报状态（0代表未申报 1代表已申报 3代表被驳回 4代表已通过）
     */
    private String declarationFlag;

    /**
     * 申报备注
     */
    private String declarationRemark;


}
